package com.infotel.listener;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import com.infotel.test.Horloge;

public class TimerListener implements ActionListener {

    Horloge horloge;

    public TimerListener(Horloge horloge) {
        this.horloge = horloge;
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        horloge.repaint();

    }

}
